﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CourseAssignToTeacher.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.CourseAssignToTeacher" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
 <style type="text/css">
        .style4
        {
            width: 118px;
        }
        .style5
        {
            height: 21px;
        }
        #dateText
        {
            height: 17px;
            margin-bottom: 5px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="MainContent">

    <div align="center">
    <fieldset style="width: 800px; height:600px;">
    <div align="center">
    <fieldset style="width: 600px; height:310px;">
    <legend>Course Assign To Teacher </legend>
    <table align="center">
    <tr>
    <td>
        <asp:Label ID="Label1" runat="server" Text="Department"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="departmentDropDownList" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="departmentDropDownList_SelectedIndexChanged">
        </asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label2" runat="server" Text="Teacher"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="teacherDropDownList" runat="server" AutoPostBack="True" 
            onselectedindexchanged="teacherDropDownList_SelectedIndexChanged">
        </asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label3" runat="server" Text="Assign Credit"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="assignCreditTextBox" runat="server" ReadOnly="True" 
            Enabled="False"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label4" runat="server" Text="Remaining Credit"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="remainingCreditTextBox" runat="server" ReadOnly="True" 
            Enabled="False"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label5" runat="server" Text="Course Code"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="courseCodeDropDownList" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="courseCodeDropDownList_SelectedIndexChanged" 
            style="height: 22px">
        </asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label6" runat="server" Text="Name"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="nameTextBox" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label7" runat="server" Text="Credit"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="creditTextBox" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td></td>
    <td>
        <asp:Button ID="assignButton" runat="server" Text="Assign" 
            onclick="assignButton_Click" />
    </td>
    </tr>
    </table>
    <br/>
    <asp:Label ID="assignMessageLabel" runat="server"></asp:Label>
    </fieldset>
    </div>
     </fieldset>
    </div>
</asp:Content>


